<?php

if($_GET['action'] == "clear")
{
	$file = fopen("link.txt","w");
	fwrite($file, "none");
	fclose($file);
}

$file = fopen("link.txt","r");
	$data = fgets($file);
	fclose($file);
	
	echo $data;
	
	?>